import ColorParamForm from './ColorParamForm'
import { StoreState } from '../../../redux/Types'
import { connect } from 'react-redux'


export function mapStateToProps({typeParam: { record }, setting: { centerCategorys, baseInfo } }: StoreState) {
  return {
    record,
    centerCategorys,
    baseInfo
  }
}
export default connect(mapStateToProps)(ColorParamForm)